home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Mostly Crystal.jar / global / toolbar.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-09-12  |  2.9 KB  |  117 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-2001 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *   Joe Hewitt (hewitt@netscape.com)
  22.  */
  23.  
  24. /* ===== toolbar.css ====================================================
  25.   == Styles used by XUL toolbar-related elements.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: toolbox ::::: */
  31.  
  32. toolbox {
  33.   -moz-appearance: toolbox;
  34.   background-color: -moz-Dialog;
  35.   border-left: 1px solid ThreeDShadow;
  36.   border-top: 1px solid ThreeDShadow;
  37.   border-right: 1px solid ThreeDHighlight;
  38. }
  39.  
  40. /* ::::: toolbar & menubar ::::: */
  41.  
  42. toolbar,
  43. menubar {
  44.   min-width: 1px;
  45.   min-height: 20px;
  46.   border-left: 1px solid ThreeDHighlight;
  47.   border-top: 1px solid ThreeDHighlight;
  48.   border-right: 1px solid ThreeDShadow;
  49.   border-bottom: 1px solid ThreeDShadow;
  50. }
  51.  
  52. /* ::::: toolbar decorations ::::: */
  53.  
  54. toolbarseparator {
  55.   margin : 2px 0.2em;
  56.   border-right : 1px solid ThreeDHighlight;
  57.   border-left : 1px solid ThreeDShadow;
  58.   width : 2px;
  59. }
  60.  
  61. toolbarspacer {
  62.   width: 15px;
  63. }
  64.  
  65. /* ::::: toolbarpaletteitem ::::: */
  66.  
  67. toolbarpaletteitem {
  68.   cursor: -moz-grab;
  69. }
  70.  
  71. .toolbarpaletteitem-box[type="spacer"],
  72. .toolbarpaletteitem-box[type="spring"] {
  73.   border: 1px solid #808080;
  74. }
  75.  
  76. toolbarpaletteitem[place="toolbar"] {
  77.   margin-left: -2px;
  78.   margin-right: -2px;
  79.   border-left: 2px solid transparent;
  80.   border-right: 2px solid transparent;
  81. }
  82.  
  83. toolbarpaletteitem[place="toolbar"] > toolbarspacer {
  84.   width: 11px;
  85. }
  86.  
  87. .toolbarpaletteitem-box[type="spacer"][place="toolbar"],
  88. .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
  89.   margin: 2px 2px 2px 0;
  90. }
  91.  
  92. .toolbarpaletteitem-box[type="separator"][place="palette"] {
  93.   width: 2px;
  94.   height: 50px;
  95. }
  96.  
  97. .toolbarpaletteitem-box[type="spacer"][place="palette"],
  98. .toolbarpaletteitem-box[type="spring"][place="palette"] {
  99.   margin-bottom: 2px;
  100.   width: 50px;
  101.   height: 50px;
  102. }
  103.  
  104. .toolbarpaletteitem-box[type="spring"][place="palette"] {
  105.   background: url("chrome://global/skin/toolbar/flex.png") no-repeat center;
  106. }
  107.  
  108. /* ..... drag and drop feedback ..... */
  109.  
  110. toolbarpaletteitem[dragover="left"] {
  111.   border-left-color: #000000;
  112. }
  113.  
  114. toolbarpaletteitem[dragover="right"] {
  115.   border-right-color: #000000;
  116. }
  117.